home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 32
/
Mac Magazin and MacEasy Magazine CD - Issue 32.iso
/
Grafik & Text
/
OzTeX3.0
/
Help-files
/
Changes to OzTeX 2.1
< prev
next >
Wrap
Text File
|
1997-02-26
|
22KB
|
454 lines
Changes to OzTeX 2.1
====================
OzTeX 3.0 is a major new release with many important changes. Please read
the following information carefully. There are a number of sections:
OzTeX and dvips
The Tools menu
Previewing
Printing
Configuration files
Virtual fonts
Miscellaneous
OzMF
OzMP
OzTeX and dvips
---------------
• OzTeX's built-in DVI-to-PostScript translator has been replaced by dvips.
The merger of OzTeX and dvips has a number of significant advantages:
The OzDVIPS application is no longer necessary. No separate Default file
means that the search paths for PK/TFM/VF/EPSF files will always match.
(dvips now uses input_folders rather than figure_folders to search for
\special files. The header_folders parameter is also not needed because
dvips now uses ps_folders to locate .pro/.enc files and downloaded fonts.)
The total memory for OzTeX-with-dvips is a lot less than OzTeX + OzDVIPS.
dvips has become the de facto standard for DVI-to-PS drivers.
It is free, well-supported and widely available for all platforms.
DVI files are more portable if they use dvips-specific \specials.
Also, the LaTeX packages support dvips better than any other driver.
dvips output conforms to Adobe's document structuring conventions; this
is required by PS-reading tools like PSbook and PSnup (now in OzTeX).
dvips has better support for graphics (eg. color/rotation). It also has
a much better scheme for modifying PostScript fonts in various ways
(eg. reencoding/slanting/condensing).
Instead of supporting two DVI-to-PS drivers, I can spend more time on
other ways to improve OzTeX!
• The new version of dvips included in OzTeX 3.0 has some handy features:
Partial downloading of Type 1 PostScript fonts. This option is disabled
by default; use -j to turn it on. I've modified dvips so that Mac
PostScript fonts (LWFN files) are also partially downloaded.
Support for HyperTeX \specials. Use -z to enable the generation of
"HyperPostScript" that can be run through Adobe Distiller to produce a
PDF file with hypertext links. For more information, see the article by
Mark Doyle in TUGboat vol.16 no.2, or visit http://xxx.lanl.gov/hypertex/.
Downloading of PostScript fonts used (but not included) in EPSF files.
Such fonts will only be downloaded if they appear in the psfonts.map file
along with a "<" entry specifying the pfa/pfb/LWFN file to be downloaded.
See the bottom of :DVIPS:Inputs:psfonts.map for some examples.
• I've extended dvips to handle all the OzTeX-specific \special commands for
including PICT/PNTG/EPSF files. I've also added support for the old method
of including raw PostScript files followed by arbitrary PostScript code,
although this is not something I would recommend doing (EPSF files are
much safer). Because of conflicts with dvips-specific \special commands,
there are some rare situations where inclusion of a raw PostScript file
will no longer work. In such cases you will need to add the new "rawps"
keyword; eg. \special{rawps=foo.ps ...}.
• The low-level PostScript printing dialog has changed slightly:
Two new radio buttons allow the PostScript code generated by dvips to be
sent directly to the printer or to a file.
A new pop-up menu makes it easier to add extra dvips options. Selecting an
option from the menu will automatically append it to the current options.
If an option requires a parameter then OzTeX selects the parameter template
so you can simply type in the desired number, string, or whatever.
The edit boxes for page copies and DVI magnification have been removed.
You will need to enter appropriate dvips options; eg. -c2 or -x1200.
• I've also extended dvips so that its output will work with the standard
print drivers (when "Use Standard PostScript" is ticked). The print dialog
has a new pop-up menu for adding extra dvips options. The items in this
menu are slightly different to those in the low-level dialog because some
options either cannot be used or don't make sense when merging dvips output
with the PostScript code generated by Apple's standard print drivers.
NOTE: Due to incompatibility problems, the pop-up menu is not available
in the print dialog for LaserWriter 8.4.x or later.
• Various *.tex/sty files have been moved from :DVIPS:Docs: into a new DVIPS
subfolder in TeX-inputs. One of these files is a new version of epsf.tex
(the old version has been removed from :TeX-inputs:Plain:).
• The rotation examples in TeX-docs (rotate.tex, rotate.ps and table.tex)
have been deleted. LaTeX users should use the rotation commands in the
graphics/x package; Plain TeX users should see :DVIPS:Docs:rotsample.tex.
The Tools menu
--------------
• OzTeX has a new Tools menu. DVIDVI and DVIcopy (formerly "Fix VFs in DVI")
have been moved from the TeX menu to the Tools menu. This menu also contains
the latest versions of Angus Duggan's utilities for manipulating PostScript
files. New items in the Help menu describe PSbook, PSnup, etc.
• The Tools menu also contains DVIPS. This is provided so you can always
create a .ps file even if the currently chosen printer is non-PostScript.
When dvips is called from Print DVI in the File menu then the default
destination is the printer. If called from DVIPS in the Tools menu then
the default destination is a .ps file.
NOTE: If you option-click on the Save button then OzTeX will skip the
save-file dialog and create foo.ps in the same folder as foo.dvi.
• DVIDVI and the PS tools look for a file called "<tool> examples" in the
help_folder and, if found, display it before the "Options" prompt.
Feel free to remove/rename/edit the supplied files.
• DVIDVI and the PS tools can be asked to create an output file with the
same name as the input file (OzTeX temporarily renames the input file).
They will also repeat the "Options" prompt if an error is detected in the
given options, so no need to select the input and output files again.
• The File menu has a new "Send foo.ps" item. The file name shown is the
most recent output file created by dvips or the PS tools.
• If the Option key is held down while selecting an item in the Tools menu
then OzTeX will skip the open-file dialog and use the current DVI/PS file.
Previewing
----------
• Major changes have been made to the way OzTeX processes a DVI page.
In previous versions, OzTeX would first collect all the \specials, rules
and characters used on a page in separate lists. These lists would then be
used to display/print all the \specials first, then all the rules, then all
the characters (font by font). Thus the original ordering of the various
page elements was lost.
While quite efficient, OzTeX's approach was at odds with the standard
method used by virtually all other DVI translators (especially dvips).
In particular, it meant that OzTeX could not support macro packages that
used one \special command to change some state (like the current color)
and another \special to restore the state. These sort of \specials are
an important way of extending TeX's limited graphic capabilities, so OzTeX
now processes all \specials, rules and characters in the same order as
their occurrence in the DVI page.
NOTE: Most people won't notice any difference as a result of this change.
However, if you relied on the fact that OzTeX printed all the \specials on
a page first (eg. to overlay text on a grey background) then you might
have to change the location of some \special commands.
• The previewer now supports the HyperTeX \special commands.
These \specials let you jump to another place in a document by simply
clicking on a link, such as a reference to a section number.
The hyperref package (now supplied in the :TeX-inputs:HyperRef: folder)
makes it very easy for LaTeX users to add HyperTeX links to their documents.
Just add \usepackage{hyperref} before \begin{document}, delete any .aux and
.toc files (to avoid a hyperref bug), then run LaTeX a couple of times.
To see how HyperTeX links work, have a look at ozuser.dvi and hyper.dvi in
the LaTeX-docs folder. All links are underlined and, on a color monitor,
are colored green. If the mouse moves over a link then the cursor changes
to a pointing finger. Clicking on a link will take you to the target.
There are two new items in the View menu: Back Link and Forward Link.
Their keyboard short cuts are "[" and "]" respectively. These items make
it easy to move to previously visited links; they work just like the
Back/Forward buttons in a Web browser.
NOTE: At the moment, OzTeX only supports internal links (links to targets
within the same DVI file). Eventually I hope to support links to other DVI
files on the current computer, or anywhere on the Internet.
• The previewer now supports the color \special commands used by dvips and
generated by LaTeX's color package. The new hyper.tex file in LaTeX-docs
shows how the color package can be used. For more details, see the new
section on color in the User Guide.
NOTE: The color \specials are not yet supported for QuickDraw printers;
that will have to wait until I buy a color printer.
• A few changes have been made to the keyboard short cuts recognized by OzTeX
while previewing a DVI file. Here is a complete list of all short cuts:
- Type "o" to bypass the view dialog and open the most recently viewed page.
- Type "w" to close the view window.
- Type "i" to see page info.
- Type "b" to move to the bottom of the previous page.
- Type "n" to move to the top of the next page.
- Type "g" to go to a given page and restore the default view.
- Type "<num>g" to go to DVI page <num> (eg. "12g" will go to DVI page 12).
- Type "<num>t" to go to TeX page <num> (eg. "13t" will go to TeX page 13).
- Type "[" to go back one HyperTeX link.
- Type "]" to go forward one HyperTeX link.
- Type "f" to change the scale to full view.
- Type "a" to change the scale to actual size.
- Type "d" to toggle the dither option (System 7 or later is required).
- Type "h" (or Home) to go to the first page and restore the default view.
- Type "e" (or End) to go to the last page and restore the default view.
- Hit the space bar (or Page Down) to scroll forwards.
- Hit the Delete key (or Page Up) to scroll backwards.
- Hit the arrow keys to scroll just like clicking in the scroll bar arrows.
- Hit the Return key to toggle between the view window and OzTeX window.
NOTES:
"-1g" will go to the last page, "-2g" to the 2nd last page, etc.
"99g" will also go to the last page if there are fewer than 99 pages.
"99t" will only go to TeX page 99 if it exists; if not, OzTeX beeps and
the page selection dialog appears.
OzTeX now supports the Home, End, Page Up and Page Down keys available on
extended keyboards. These keys are also supported in the OzTeX window.
The old "f" and "l" short cuts for first and last page have been changed
to "h" (for home) and "e" (for end). They also restore the default view.
The main reason for this change is to allow "f" to be a short cut for
Full View. All the command-key items in the View menu now have matching
short cuts.
• The roles of a simple click and an Option-Command-click have been reversed.
A simple click now magnifies the area under the cursor. This area can now
be moved around while holding down the mouse button; if the mouse moves
outside the viewing area then scrolling will occur. These new features
are so convenient that I decided most people would prefer access to them
using a simple click rather than the Option-Command-click contortion.
An Option-Command-click will now zoom in by doubling the scale factor,
or if the mouse button is held down and dragged then OzTeX will zoom into
the selected rectangle.
NOTE 1. If you prefer the old clicking methods then open OzTeX Prefs in
ResEdit and change STR 214 to "T". (Then restart OzTeX.)
NOTE 2. The dimensions of the magnified rectangle can be changed by opening
OzTeX Prefs in ResEdit and altering the numbers in STR 240 and 241.
If you want the magnified area to fill the view window then set both numbers
to huge values (eg. 8000). Setting either number to a value less than 5
will prevent any magnification.
NOTE 3. The left edge of the standard view window has been moved in 1 pixel
so that scrolling can occur if the cursor moves outside the left edge while
dragging the magnified rectangle.
• The View DVI dialog has a new "Dither bitmaps" option which tells OzTeX
whether or not to dither the bitmaps used for PK fonts and \special images.
Dithering improves the readability of PK fonts, but it is a bit slower.
While viewing a page you can press "d" to toggle the dither option.
Dithering is only available under System 7 or later.
• Smoothing of non-PK fonts under ATM version 4 now works.
• OzTeX no longer displays a warning dialog when previewing a DVI file that
includes an EPSF file without a PICT 256 resource. Instead, OzTeX draws a
rectangle showing the bounding box, along with the name of the file and the
message "no PICT" near the \special marker.
• \special markers are only shown for included files.
• The previewer now detects all dvips-specific \special commands and silently
ignores those it can't handle (like rotation and other commands that use
raw PostScript code). Ditto for tpic \specials. This means that most
people will never need to tick the "Ignore bad \specials" option.
• Added better support for monitors that can change the desktop dimensions.
After such a change, the view window will be reset to the standard state
if the title bar, zoom box or size box become invisible.
• The previewer can now handle EPSF files with "%%BoundingBox: (atend)".
• You can now type "o" while TeX is running and the previewer will open the
DVI file at the end of the run (previously the "o" event would be gobbled
by the routine that checks for command-dot).
Printing
--------
• OzTeX's low-level PostScript printing code now works under QuickDraw GX
(on both AppleTalk and serial printers).
Configuration files
-------------------
• Here are the new parameters:
pstool_output = <filename>
Sets the default name of the output file created by PSbook, PSnup, etc.
The Default config file sets the name to out.ps.
missing_picts = <color>
Specifies the color of the box and message seen when previewing an EPSF
file with no PICT. The Default file sets the color to red.
hypertex_links = <color>
Specifies the color of HyperTeX links. The Default color is green.
• These parameters are no longer used:
dvips_application
dvi_to_ps_prolog
standard_prolog
global_ps_file
dvidvi_examples
conserve_vm
Some corresponding files have been deleted from the PS-files folder:
DVItoPS.pro
OzTeXdict.pro
global.ps
• Because OzTeX uses dvips (which gets PostScript font info from psfonts.map),
the list of PostScript fonts in an OzTeX config file is only used when
previewing, or when printing on a non-PostScript printer. This means that
the printer font names and download entries are no longer used by OzTeX.
However, I decided not to alter the syntax of PostScript font lists, so
there is no need to change the font lists in your own config files.
To simplify the Default config file, I've removed all the 8r-/EX-/CO-/SL-
prefixes. This makes it easier to compare the entries in psfonts.map.
I've also removed the "<" entries from all config files. But again, this
wasn't really necessary -- OzTeX will silently ignore such entries.
• The ps_folders list in the Default config file now includes :DVIPS:Inputs:
so dvips can locate various files (config.*, psfonts.*, *.enc, *.pro).
• The ps_folders list also includes the special entry "$f". OzTeX replaces
$f with the path to your system fonts folder so that dvips can locate
PostScript font files. The ps_folders lines have been removed from the
various "Add ... Fonts" config files, along with the corresponding warnings.
• In the "Add Lucida Fonts" config, the screen font info for lbsl has been
changed from "LucidaBright Mac.enc i" to "LucidaBrightSlant Mac.enc".
Also added the "$7F $C4" encoding to :PS-files:Encodings:LucidaNewMath.enc.
Also updated and corrected :PS-files:Encodings:Mac8r.enc. [Thanks Bruno.]
• TeX's trie_size parameter can now go up to 65000. Handy for languages like
German that can require lots of hyphenation patterns.
• Just before running TeX, OzTeX will load <format>.config if it exists in
the same folder as the input file. This is handy for people who use both
LaTeX 2.09 and 2e and need to switch to different input_folders. No need
to manually select appropriate config files; just create LaTeX.config and
LaTeX209.config (or whatever matches the names of your .fmt files).
• The "Big TeX" config file has been removed. I decided this was a silly
approach because if you need to use big formats then you might as well
use them all the time and just call them Plain.fmt, LaTeX.fmt, etc.
The big TeX parameters are now stored in the notes at the end of the
Default config file, along with new instructions. The User Guide section
on building big formats has also been modified.
• The hyperref package uses a lot of macros, so I've increased a couple of
TeX parameters in the Default config file (hash_size and hash_prime) and
rebuilt all format files. I've also increased OzTeX's preferred memory
size by 100K.
Virtual fonts
-------------
• The "Fix VFs" items have been removed from the TeX menu. There is no longer
any need to fix virtual fonts in a DVI file before previewing/printing
because OzTeX now handles such fonts on the fly, just like dvips.
(Actually, "Fix VFs in DVI" has just been renamed to DVIcopy in case people
still want to use that tool for some reason. Note that DVIcopy can cause
some subtle problems -- see the new DVIcopy help file for details.)
• The View menu's Page Info item shows virtual font information if any VF
files are used in the DVI file. Note that if virtual fonts are used then
Page Info won't necessarily detect all missing PK fonts. A missing PK font
referenced in a virtual font will only be detected if a character requiring
that PK font is used somewhere on the current page.
Previously, Page Info could be used to detect ALL missing PK fonts without
having to preview every page. This is no longer feasible with VFs because
OzTeX would have to preload ALL local fonts referenced in all VFs, and that
would be highly undesirable (because some local fonts might never be used).
Use dvips and create a .ps file if you want to detect missing PK fonts.
Miscellaneous
-------------
• "Use Format in Log" has been removed from the TeX menu. Too many people
were getting stuck after creating a log file with the wrong format.
A better and safer way to force a particular format is to include a line
like "%&LaTeX" or "%&Plain" at the start of your input file.
• All new TEXT files created by OzTeX now have your chosen editor's signature,
so double-clicking on a new .log/aux/toc file will open it in the editor.
Note that OzTeX won't change the signature of existing files, so you can
still double-click on your old .log files to start up OzTeX. If you want
to do that after creating a new .log file, just use ResEdit or some other
utility to change the file's creator signature to "OTEX".
• Given foo.x.tex, TeX now creates foo.x.dvi and foo.x.log.
This is consistent with how Metafont/MetaPost/dvips handle mf/mp/dvi files.
• If you renamed your text editor and then typed "e" in response to a TeX
error then OzTeX would display a cryptic warning message. Now you will be
asked to select the text editor again.
• The magnification string passed by OzTeX to MakeTeXPK is now identical to
the string passed by dvips. This guarantees that PK files created by either
caller will be identical (apart from the creation date). OzTeX was using a
slightly different method for calculating the magnification and some unusual
cases, like a DVI magnification of 833, could result in PK files with minor
differences. Not enough to be visible, but potentially confusing.
• Fixed a bug that's been around for some time (since 1.7).
If you used LaTeX's graphicx package, then a command like
\includegraphics[height=1in]{test.epsf}
would result in a spurious "Bad BoundingBox" error when PostScript printing
and an unscaled image when previewing or non-PostScript printing. The bug
only occurred if "height" was used by itself.
• The new REVTeX subfolder in TeX-inputs contains the latest REVTeX 3.1
release (including the revtex.cls patch for LaTeX2e).
• The AMS folder has been updated with the latest versions of AMS-TeX,
AMS-LaTeX and AMSFonts.
• The TeX-inputs folder has been updated with the Dec 1996 release of LaTeX.
Note that I've removed oztex.def from the Graphics subfolder; OzTeX now
uses dvips.def.
• The escape key or command-dot can now be used to cancel all dialog boxes
with a Cancel button. The escape key can also be used like command-dot to
cancel lengthy tasks. Ditto for OzMF and OzMP.
OzMF
----
• Given foo.x.mf, Metafont now creates foo.x.log etc.
• Updated AFM2TFM to version 8.1.
• Fixed a bug in VPtoVF that could result in a hung Mac. Fortunately the bug
only occurred if a .vpl file had no MAPFONT declarations (very unlikely!).
OzMP
----
• OzMP is an implementation of John Hobby's MetaPost program for producing
PostScript pictures using a Metafont-like language. The OzMP application
should be kept in the same folder as OzTeX, along with the MetaPost folder.
See the new OzMP section in the User Guide for more details.